package me.leiusual.sharing.api.model

/**
 * author: leiusual
 * create on: 2019-07-25
 * description:
 */
class StoreDetail {

  data class Request(
      val clientId: String,
      val storeId: Long
  )

  data class Response(
      val storeName: String,
      val description: String,
      val businessLevelMap: Map<String, String>,
      val storeAreaIdNameMap: Map<Long, String>,
      val topCategories: List<Category>,
      val logoUrl: String
  ) {

    data class Category(
        val selected: Boolean?,
        val list: List<Item>
    ) {

      data class Item(
          val id: Long,
          val name: String
      )
    }
  }
}